package net.zjitc.pojo;

import java.util.List;

/**
 * Created by Administrator on 2017/11/18.
 */
//一级分类管理与二级分类管理的关联关系：一对多
//一级分类
public class Category {
    private int cid;
    private String cname;
    //关联关系
    private List<CategorySecond> secondList;

    public List<CategorySecond> getSecondList() {
        return secondList;
    }

    public void setSecondList(List<CategorySecond> secondList) {
        this.secondList = secondList;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }
}
